<template>
  <div id="markdown">
    <div class="header">
      <div class="header_left">
        <div style="position: relative">
          <div
            style="
              width: 53px;
              height: 28px;
              background-color: rgb(183, 75, 97);
              float: right;
              position: relative;
            "
          >
            <div class="left-triangle">
              <div
                style="
                  width: 10px;
                  height: 10px;
                  background: #fff;
                  margin: 5px;
                  transform: rotate(90deg);
                "
              ></div>
            </div>
          </div>
          <div
            style="
              position: absolute;
              top: 9px;
              left: 27px;
              width: 48px;
              height: 1px;
              background: rgb(183, 75, 97);
            "
          ></div>
          <div
            style="
              position: absolute;
              top: 21px;
              left: 0;
              width: 75px;
              height: 1px;
              background: rgb(183, 75, 97);
            "
          ></div>
        </div>
      </div>
      <div
        style="color: rgb(255, 255, 255); background-color: rgb(183, 75, 97)"
      >
        <span style="font-weight: 600; line-height: 28px; text-align: center">
          街道新冠疫苗接种人员登记表
        </span>
      </div>
      <div class="header_right">
        <div style="position: relative">
          <div
            style="
              width: 53px;
              height: 28px;
              background-color: rgb(183, 75, 97);
              float: left;
              position: relative;
            "
          >
            <div class="right-triangle">
              <div
                style="
                  width: 10px;
                  height: 10px;
                  background: #fff;
                  margin: 5px;
                  transform: rotate(90deg);
                "
              ></div>
            </div>
          </div>
          <div
            style="
              position: absolute;
              top: 9px;
              right: 27px;
              width: 48px;
              height: 1px;
              background: rgb(183, 75, 97);
            "
          ></div>
          <div
            style="
              position: absolute;
              right: 0;
              top: 22px;
              width: 75px;
              height: 1px;
              background: rgb(183, 75, 97);
            "
          ></div>
        </div>
      </div>
    </div>
    <div class="fx-field">
      <div style="font-weight: 600; line-height: 20px">个人信息</div>
      <div style="position: relative; height: 8px">
        <div class="sep-label"></div>
        <div class="sep-bg-wrapper"></div>
      </div>
    </div>
    <div>
      <div></div>
    </div>
  </div>
</template>

<script>
// import {Editor, Viewer} from ''

export default {
  name: 'admin',
  // components: {Editor, Viewer},
  data() {
    return {
      content: '123',
    };
  },
  methods: {},
};
</script>

<style scoped>
#markdown {
  padding: 10px;
  /*height: 500px;*/
}

button {
  padding: 10px;
  margin: 10px;
}
.header {
  width: 100%;
  height: 28px;
  display: flex;
  justify-content: center;
  line-height: 28px;
  margin: 12px;
}
.header_left {
  width: 150px;
}
.header_right {
  width: 150px;
}
.left-triangle {
  position: absolute;
  top: 4px;
  right: 44px;
  width: 20px;
  height: 21px;
  background-color: rgb(183, 75, 97);
  transform: rotate(-45deg);
}
.right-triangle {
  position: absolute;
  top: 4px;
  right: -10px;
  width: 20px;
  height: 21px;
  background-color: rgb(183, 75, 97);
  transform: rotate(-45deg);
}
.fx-field {
  padding: 7px 12px 12px;
  line-height: 20px;
}
.sep-label {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  min-width: 8%;
  max-width: 81%;
  background: rgb(183, 75, 97);
  border-radius: 0 8px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.sep-bg-wrapper {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 50%;
  margin-left: 8px;
  background: rgb(183, 75, 97);
  opacity: 0.2;
}
</style>
